package com.wyl.idempotentcheck.common;


public enum Code {
    SUCCESS(0,"操作成功"),

    ERROR(1,"操作失败"),

    InternalServerError(100,"服务内部错误，请稍后再试！"),

    RepeatSubmit(101,"请勿重复提交");

    private int code;

    private String msg;

    Code(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }



}
